package com.voicechat.firstmet.bean;

import com.contrarywind.interfaces.IPickerViewData;

import java.util.List;

/**
 * @ProjectName: FirstMet
 * @Package: com.voicechat.firstmet.bean
 * @ClassName: JsonBean
 * @Description: java类作用描述
 * @Author: ljp
 * @CreateDate: 2018/9/27 10:50
 * @Version: 1.0
 */
public class JsonBean  {

    private List<DataBean> data;

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }



    public static class DataBean implements IPickerViewData{
        /**
         * name : 北京
         * cities : ["西城","东城","朝阳","海淀","丰台","石景山","门头沟","房山","通州","顺义","大兴","昌平","平谷","怀柔","密云","延庆"]
         */

        private String name;
        private List<String> cities;
        @Override
        public String getPickerViewText() {
            return this.name;
        }
        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public List<String> getCities() {
            return cities;
        }

        public void setCities(List<String> cities) {
            this.cities = cities;
        }
    }
}
